package com.cq.hd.product.api;

import com.cq.hd.common.response.Result;
import com.cq.hd.product.api.dto.ActiveBrowseStatisticsDto;
import com.cq.hd.product.api.vo.ActiveBrowseStatisticsVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "hd-o2o-product-service", contextId = "active-browse-statistics-api")
public interface TbActiveBrowseStatisticsApi {

    @GetMapping("/product/activeBrowseStatistics/listByDto")
    Result<List<ActiveBrowseStatisticsVo>> listByDto(@SpringQueryMap ActiveBrowseStatisticsDto activeBrowseStatisticsDto);
}
